﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sylva.AppML.DatabaseSchema
{
    internal class Table
    {
        public string Name { get; set; }

        private List<Column> columns = new List<Column>();
        public List<Column> Columns
        {
            get { return columns; }
        }

        public PrimaryKey primayKey { get; set; }

        private List<ForeignKey> foreignKeys = new List<ForeignKey>();
        public List<ForeignKey> ForeignKeys
        {
            get { return foreignKeys; }
        }

        private List<Index> indexes = new List<Index>();
        public List<Index> Indexes
        {
            get { return indexes; }
        }

    }
}
